a = 0
for i in range(1,100,2):
    a += i
print(a)

b = []
for i in range(1,100,2):
    b.append(i)
print(sum(b))

# 做得不错，可以利用多种方法
